import fetch from 'utils/fetch';

//商户审核
export function passagewayAll(data) {
	  return fetch({
		url:  '/api/admin/passageway/findPassageway',
    headers: {'Content-type': 'application/json;charset=UTF-8'},
    method: 'post',
    data
  });
}

//查询商户审核列表
export function queryShopAll(data) {
	  return fetch({
		url:  '/api/admin/viceMerchant/queryiceMerchantAll',
    headers: {'Content-type': 'application/json;charset=UTF-8'},
    method: 'post',
    data
  });
}


//商户审核（通过与否）   ----王
export function viceMerchant(data) {
	  return fetch({
		url:  '/api/admin/viceMerchant/checkMerchant',
    headers: {'Content-type': 'application/json;charset=UTF-8'},
    method: 'post',
    data
  });
}


//商户审核返回
export function MerchantByCheck(data) {
	  return fetch({
		url:  '/api/admin/merchant/findMerchantByCheck',
    headers: {'Content-type': 'application/json;charset=UTF-8'},
    method: 'post',
    data
  });
}